package com.shop.shop.service;

import com.shop.shop.entity.Commodity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.shop.utile.MapUtile;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 商品表 服务类
 * </p>
 *
 * @author 小🌤
 * @since 2021-04-22
 */
public interface CommodityService extends IService<Commodity> {

    Map<String,Object> findByAllTop(MapUtile map);

    Map<String, Object> findById(Integer id);

    Map<String, Object> listUser(MapUtile map);

    Map<String, Object> findSeartop(MapUtile map);

    Map<String, Object> getList(MapUtile mapUtile, String scName);
}
